package com.example.cloud.service;

import org.apache.ibatis.annotations.Param;
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2024-03-30
 * Time: 15:37
 */
public interface AccountService {

    /**
     * 扣减账户余额
     *
     * @param userId 用户id
     * @param money  本次消费金额
     */
    void decrease(@Param("userId") Long userId, @Param("money") Long money);
}
